/*
 * Created by SharpDevelop.
 * User: mac
 * Date: 16.07.2006
 * Time: 15:33
 * 
 * To change this template use Tools | Options | Coding | Edit Standard Headers.
 */

using System;

namespace TagTool.GraphicTypes
{
	[Serializable()]
	public class TexturedPoint : ColoredPoint
	{
		double texX;
		double texY;
		
		PointD normal = new PointD(0.0, 0.0, 1.0);

		public TexturedPoint() 
		{
		}
		
		public TexturedPoint(double x, double y, double z, 
		                     Color color, 
		                     double width, 
		                     double texX, double texY) 
			: base(x, y, z, color, width)
		{
			this.TexX = texX;
			this.TexY = texY;
		}
		
		public TexturedPoint(PointD point, 
		                     Color color, 
		                     double width, 
		                     double texX, double texY) 
			: base(point, color, width)
		{
			this.TexX = texX;
			this.TexY = texY;
		}

		public PointD Normal
		{
			get { return normal; }
			set { normal = value; }
		}
		
		public double TexX
		{
			get { return texX; }
			set { texX = value; }
		}
		
		public double TexY
		{
			get { return texY; }
			set { texY = value; }
		}
		
		
	}
}
